import { request, config } from 'utils'

const { api } = config
const { totals, totalDetails } = api

export async function totalNum (params) {
	return request({
	    url: totals,
	    method: 'get',
	    data: params,
	})
}

export async function totalList (params) {
	return request({
	    url: totalDetails,
	    method: 'get',
	    data: params,
	})
}
